package homework;

public class homework17 {
	 public static void main(String[] args) {
	        int i=9;
	        int j =1;
	        while(i>=1){
	            j = (j + 1)*2;	           
	            i--;
	        }
	        System.out.println(j);
	    }
}
